<div class="left">
<div class="form_section preview manage">
<table>
    <tr><td class="subtitle">Filter Name:</td><td><input type="text" id="search_term"/></td></tr>
    <tr>
        <td class="subtitle">Filter Type:</td>
        <td>
            <select id="search_cat">
                <option value="-1">All</option>
                <?foreach($basetypes->result() as $result):?>
                <option value="<?=$result->basetype_id?>"><?=$result->basetype_title?></option>
                <?endforeach;?>
            </select>
        </td>
    </tr>
</table>
</div>
    
<div class="form_section preview manage">
    <h2>Search Results:</h2>
<div class="listContainer">
<ul class="list" id="search_results">
</ul>
</div>
</div>
</div>
<div class="right">
<a href="<?=base_url()?>meal_editing/edit_ingredients/createForm" data-fancybox-type="iframe" 
   class="button largeButton" id="create_button">Create New Ingredient</a>
   
<div id="preview_ingredient" class="preview">
</div>

</div>
<br style="clear:both"/>
<div id="success_area" class="preview">
<?if($response != ""):?>
    <div class="form_section">
    <h1><?=$response?></h1>
    </div>
<?endif;?>
</div>